package com.cxcs.cxcsojbackendjudgeservice.judge.codesandbox;

import com.cxcs.cxcsojbackendmodel.codesandbox.ExecuteCodeRequest;
import com.cxcs.cxcsojbackendmodel.codesandbox.ExecuteCodeResponse;

/**
 * 代码沙箱接口
 *
 * @Author: CxCS
 * @Version: 1.0
 * @Date: 2024-08
 */

public interface CodeSandBox {
    /**
     *  执行用户代码
     *
     * @param executeCodeRequest
     * @return
     */
    ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest);
}
